<template>
  <div id="app">
    <!-- 测试 -->
    <!-- <div class="text"> -->
    <!-- <van-nav-bar @click-left="$router.back()" title="首页"></van-nav-bar>
      <van-skeleton :row="6" avatar title />
      <van-button left-arrow title="文章详情" type="primary"
        >主要按钮</van-button
      >
      <van-button type="success">成功按钮</van-button>
      <van-button type="default">默认按钮</van-button>
      <van-button type="warning">警告按钮</van-button>
      <van-button type="danger">危险按钮</van-button>
    </div>
    <van-child /> -->

    <!-- 一级路由挂载点（占位） -->
    <!-- <router-view /> -->
    <keep-alive>
      <router-view v-if="$route.meta.isKeepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.isKeepAlive"></router-view>
  </div>
</template>

<style lang="less">
</style>
